package com.example.academic_affairs_system.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author hjx
 * @since 2023-01-31
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("aas_role")
@ApiModel(value = "AasRole对象", description = "角色表")
public class AasRole implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("角色名称")
    private String roleName;

    @ApiModelProperty("角色描述")
    private String roleDesc;

    @ApiModelProperty("角色的访问接口权限 - * 表示开放所有接口")
    private String urls;

    @ApiModelProperty("是否可用")
    @TableLogic
    private Boolean enabled;

}
